package org.example.simplemanagementsystem.service;

import org.example.simplemanagementsystem.pojo.Emp;
import org.example.simplemanagementsystem.pojo.PageResult;
import org.example.simplemanagementsystem.pojo.Student;
import org.example.simplemanagementsystem.pojo.StudentQueryParam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StudentService {
    PageResult page(StudentQueryParam studentQueryParam);

    void save(Student student);

    Student getInfoById(Integer id);

    void violation(Integer id, Integer score);

    void update(Student student);

    void delete(List<Integer> ids);
}
